var game=null;
window.addEventListener('load', function() {
    game=new Phaser.Game(640,384,Phaser.AUTO, 'game-div');
    game.state.add('boot',boot);
    game.state.add('load',load);
    game.state.add('home',home);
    game.state.start('boot');
});